package org.vacoor.nothing.misc.express.usps.api.track.field;

import org.vacoor.nothing.misc.express.usps.api.track.TrackId;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

/**
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class TrackFieldId extends TrackId {
    @XmlElement(name = "DestinationZipCode")
    private String destinationZipCode;
    @XmlElement(name = "MailingDate")
    private String mailingDate;

    // for jaxb
    private TrackFieldId() {this(null);}

    public TrackFieldId(String id) {
        super(id);
    }

    public String getDestinationZipCode() {
        return destinationZipCode;
    }

    public void setDestinationZipCode(String destinationZipCode) {
        this.destinationZipCode = destinationZipCode;
    }

    public String getMailingDate() {
        return mailingDate;
    }

    public void setMailingDate(String mailingDate) {
        this.mailingDate = mailingDate;
    }
}
